package cn.com.self.apis.portal.entity;

import cn.com.selfsoft.smartcity.commons.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 系统菜单表
 * @Description
 */
@Data
@TableName("t_sys_Menu")
public class SysMenuEntity extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编码")
    private String code;

    @ApiModelProperty(value = "菜单名称",required = true)
    private String name;

    @ApiModelProperty(value = "链接",required = true)
    private String link;

    @ApiModelProperty(value = "状态。0：无效，1：显示, 2: 隐藏",required = true)
    private String status;

    @ApiModelProperty(value = "排序")
    private String position;

    @ApiModelProperty(value = "类型。MENU：菜单，ACTION：动作")
    private String type;

    @ApiModelProperty(value = "上级菜单 id")
    private String parent;

    @ApiModelProperty(value = "祖先-暂时无用")
    private String ancestor;

    @ApiModelProperty(value = "菜单级别: 1: 一级菜单 2: 二级菜单")
    private String depth;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "描述")
    private String remark;

}
